package ewms.service;

import ewms.domain.EwmsIncinerateHandle;
import ewms.vo.EwmsIncinerateHandleVo;
import ewms.bo.EwmsIncinerateHandleQueryBo;
import ewms.bo.EwmsIncinerateHandleAddBo;
import ewms.bo.EwmsIncinerateHandleEditBo;
import ewms.common.core.page.IServicePlus;
import ewms.common.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 焚化处置Service接口
 *
 * @author zhaoxiaochun
 * @date 2022-02-17
 */
public interface IEwmsIncinerateHandleService extends IServicePlus<EwmsIncinerateHandle> {
	/**
	 * 查询单个
	 * @return
	 */
	EwmsIncinerateHandleVo queryById(Long incinerateHandleId);

	/**
	 * 查询危废焚化列表
	 *
	 * @param bo
	 * @return
	 */
	TableDataInfo<EwmsIncinerateHandleVo> selectPageIncinerateHandleList(EwmsIncinerateHandleQueryBo bo);

	/**
	 * 查询危废焚化列表
	 *
	 * @param bo
	 * @return
	 */
	List<EwmsIncinerateHandleVo> selectIncinerateHandleList(EwmsIncinerateHandleQueryBo bo);

	/**
	 * 查询列表
	 */
    TableDataInfo<EwmsIncinerateHandleVo> queryPageList(EwmsIncinerateHandleQueryBo bo);

	/**
	 * 查询列表
	 */
	List<EwmsIncinerateHandleVo> queryList(EwmsIncinerateHandleQueryBo bo);

	/**
	 * 根据新增业务对象插入焚化处置
	 * @param bo 焚化处置新增业务对象
	 * @return
	 */
	Boolean insertByAddBo(EwmsIncinerateHandleAddBo bo);

	/**
	 * 根据编辑业务对象修改焚化处置
	 * @param bo 焚化处置编辑业务对象
	 * @return
	 */
	Boolean updateByEditBo(EwmsIncinerateHandleEditBo bo);

	/**
	 * 校验并删除数据
	 * @param ids 主键集合
	 * @param isValid 是否校验,true-删除前校验,false-不校验
	 * @return
	 */
	Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
